import request from "../utils/request.js"

//登录接口
export const login = (data) => request("user/wxLogin",{method:"POST",data})

//获取用户信息
export const getUserInfo = (data) => request("user/getUserInfo",{data})

//更新用户信息
export const updateUserInfo = (data) => request("user/auth",{method:"POST",data})